package com.zsk.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@Builder
@ApiModel("商品-收藏")
public class ShopCollection implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(name = "id", value = "主键编号", dataType = "Long")
    private Long id;

    @ApiModelProperty(name = "userNo", value = "用户No", dataType = "String")
    private String userNo;

    @ApiModelProperty(name = "goodsNo", value = "商品No", dataType = "String")
    private String goodsNo;

    @ApiModelProperty(name = "goodsOrderType", value = "1 普通，2 0元购，3 会员商城, 4 特殊", dataType = "Integer")
    private Integer goodsOrderType;

    @ApiModelProperty(name = "createTime", value = "创建时间", dataType = "Date")
    private Date createTime;

    private static final long serialVersionUID = 1L;

}